home *** CD-ROM | disk | FTP | other *** search
- Path: news.primenet.com!ip21-114
- From: mcoplea@primenet.com (Marty R. Coplea)
- Newsgroups: comp.lang.c
- Subject: Date format with long int question
- Date: 30 Jan 1996 23:22:03 -0700
- Organization: Primenet
- Sender: root@primenet.com
- Message-ID: <4en1qb$dl6@nnrp1.news.primenet.com>
- X-Posted-By: ip21-114.phx.primenet.com
- X-Newsreader: News Xpress Version 1.0 Beta #4
-
- I am having trouble writing some C code that will take input of a date as an
- long integer in a yymmdd format (ex: 960130). Then seperate the long integer
- into 3 parts (year, month day) and display in a mm/dd/19yy form (01/30/1996).
- Any suggestions would be greatly appreciated. (email pefered) Thx!
-